package office.action.workflow.wrapper;

import java.util.Date;

import office.bo.workflow.impl.Remind;
import platform.common.bo.IdentifiableObj;

public class RemindWrapper {
	private String id;
	private String name;          //提醒的名称
	private String objId;         //提醒的对象id
	private String objClassName;  //提醒的业务实体
	private Date   sendDate;      //提醒发送的时间
	private String remindUser;    //提醒人
	private String agentUser;     //提醒代办人    此字段暂时可以不用，不往里面存放值，方便以后扩展用
	private Date   lookDate;      //提醒人查看时间
	private int    handleState;   //状态
	
	/**
	 * 从bo拷贝属性
	 * @param baseBO
	 */
	public void copyToWrapper(IdentifiableObj baseBO){
		Remind bo = (Remind)baseBO;
		this.id = bo.getId().toString();
		this.name = bo.getName();
		this.objId = bo.getObjId();
		this.objClassName = bo.getObjClassName();
		this.sendDate = bo.getSendDate();
		this.remindUser = bo.getRemindUser();
		this.agentUser = bo.getAgentUser();
		this.lookDate = bo.getLookDate();
		this.handleState = bo.getHandleState();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getObjId() {
		return objId;
	}

	public void setObjId(String objId) {
		this.objId = objId;
	}

	public String getObjClassName() {
		return objClassName;
	}

	public void setObjClassName(String objClassName) {
		this.objClassName = objClassName;
	}

	public Date getSendDate() {
		return sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

	public String getRemindUser() {
		return remindUser;
	}

	public void setRemindUser(String remindUser) {
		this.remindUser = remindUser;
	}

	public String getAgentUser() {
		return agentUser;
	}

	public void setAgentUser(String agentUser) {
		this.agentUser = agentUser;
	}

	public Date getLookDate() {
		return lookDate;
	}

	public void setLookDate(Date lookDate) {
		this.lookDate = lookDate;
	}

	public int getHandleState() {
		return handleState;
	}

	public void setHandleState(int handleState) {
		this.handleState = handleState;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}
